﻿@{
    ViewBag.Title = "Bienvenid@";
    Rsa.DataAccess.Models.Usuario usuario = Session["Rsa_Usuario"] as Rsa.DataAccess.Models.Usuario;
    
}
<!DOCTYPE html>
<html lang="en">
<head>
    <title>Bienvenido!</title>
    <link href="@Url.Content("~/Content/CoolBlue.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.core.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.base.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.theme.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.datepicker.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/MicrosoftMvcValidation.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.ui.datepicker-es.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.corner.js")" type="text/javascript"></script>
</head>
<body>
    <div id="header">
        <span id="title">Red Social Académica XD</span>
    </div>
    @if (Request.IsAuthenticated) {
        <div id="user-bar">
            <ul id="user-bar-menu">
                <li><a href="#">
                    <img style="float: left" src="@Url.Content("~/Content/images/rsa_home.png")" alt="Inicio" /></a>
                </li>
                <li><a class="section" href="#">
                    <img style="float: left" src="@Url.Content("~/Content/images/rsa_contactos.png")" alt="Contactos" /></a>
                </li>
                <li><a href="#">
                    <img style="float: left" src="@Url.Content("~/Content/images/ras_proyectos.png")" alt="Proyectos" /></a>
                </li>
                <li class="searchContainer">
                    <div>
                        <input type="text" id="searchField" />
                        <img src="@Url.Content("~/Content/images/rsa_search.png")" alt="Search" onclick="alert('You clicked on search button')" />
                    </div>
                </li>
                <li class="usuario-perfil"><a href="#">@usuario.Username</a>
                    <ul id="help">
                        <li><a href="/Usuario/Perfil">Perfil</a></li>
                        <li><a href="/Usuario/Privacidad">Privacidad</a></li>
                        <li><a href="/Usuario/Logout">Cerrar Sesión</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    }
    <div id="container">
        @RenderBody()
        <div id="footer">
            Red Social Académica - 2012
        </div>
    </div>
    <!-- container -->
</body>
</html>
